using System.Collections.Generic;

namespace Pdf2epub.Model
{
    public class FontAnalysisResult : Dictionary<string, Dictionary<string, int>>
    {
        public FontAnalysisResult(FontUsageCollection fontUsages,
            double averageLineDistance, double minimumLineDistance, double maximumLineDistance, double mostlyUsedLineDistance)
        {
            FontUsages = fontUsages;
            AverageLineDistance = averageLineDistance;
            MinimumLineDistance = minimumLineDistance;
            MaximumLineDistance = maximumLineDistance;
            MostlyUsedLineDistance = mostlyUsedLineDistance;
        }

        public double AverageLineDistance { get; private set; }

        public FontUsageCollection FontUsages { get; private set; }

        public double MaximumLineDistance { get; private set; }

        public double MinimumLineDistance { get; private set; }

        public double MostlyUsedLineDistance { get; private set; }
    }
}